* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.section-3d {
    width: 1000px;
    height: 800px;
    position: absolute;
    top: 0%;
    left: 800px;
    /* transform: translate(-50%, 0%); */
    z-index: 10;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0f1c0b;
    padding: 20px;
}

.logo img {
    width: 85px;
}

.nav {
    display: flex;
    gap: 20px;

}


.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}


.search-bar {
    padding: 5px;
    border-radius: 5px;
    border: none;
}

.quote-button {
    background-color: #28a745;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.banner {
    position: relative;
    padding: 250px 50px;
    background-color: #121212;
    overflow: hidden;
}


.banner-word{
    color: #ffffff;

}
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
}

.banner-content p {
    font-size: 20px;
    margin: 20px 0;
}

.button-group {
    display: flex;
    gap: 80px;
    padding-left: 50px
}

.button {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.green-button {
    background-color: #28a745;
}

.black-button {
    background-color: #333;
}

.banner-image {
        position: absolute;
        bottom: 50px; /* 将图片向上移动 50px */
        top: 0px;
        left: 0px;
        width: 50%;
        height: auto;
    z-index: 1; /* 确保图片在文字后面 */
    opacity: 0.8; /* 设置图片透明度，保持文字清晰 */
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    background-color: #1e3b21;
    padding: 20px;
}

.bottom-nav a {
    color: #28a745;
    text-decoration: none;
    font-size: 18px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.contact-section {
    position: relative;
    height: 100vh; /* 使背景地图充满页面高度 */
    background: url(./assets/5.png) no-repeat center center/cover; /* 替换为地图图片的路径 */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 使联系框靠左 */
    padding-left: 150px; /* 使联系框距离左边50px */
}

.contact-box {
    background-color: rgba(40, 54, 49, 0.9); /* 半透明的深色背景 */
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    max-width: 300px;
}

.contact-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-box p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-box address {
    font-style: normal;
    margin-bottom: 20px;
}

.contact-btn {
    background-color: #8bc53f; /* 绿色按钮背景 */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.contact-btn:hover {
    background-color: #76a42e; /* 按钮悬停时颜色变化 */
}

/* 基本样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* 项目展示部分 */
#projects {
    text-align: center;
    padding: 50px;
    background-color: #e7ffe7;
}

.project-cards {
    justify-content: space-around;
    margin-top: 20px;
    display: flex;
}

.project-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    border-radius: 10px;
}

.project-card h3 {
    margin: 15px 0 10px;
}

.project-card p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #666;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #28a745;
    text-decoration: none;
}

.view-more {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* 捐赠部分 */
#donation {
    background-color: #e7ffe7;
    text-align: center;
    padding: 50px;
}

.donation-progress {
    margin: 30px auto;
    width: 60%;
}

.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    background-color: #28a745;
    height: 30px;
}

.donation-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.donation-stats .stat {
    font-size: 1.2em;
}

.donate-now {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* 捐赠表单 */
#make-donation {
    padding: 50px;
    text-align: center;
    background-color: #f7f7f7;
}

#make-donation form {
    margin: 20px 0;
}

#make-donation input {
    padding: 10px;
    width: 80%;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#make-donation button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.stats-overview {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.stat-box {
    width: 20%;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-box strong {
    display: block;
    font-size: 1.5em;
    margin-bottom: 10px;
}


/* 最后部分 */

/* 页面基础样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* 产品盒子垂直排列 */
#product-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    background-color: #203223;
    background: url(./assets/treedaze.png) no-repeat center center/cover; /* 替换为地图图片的路径 */
    flex-grow: 1;
}

.product-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #e7f6e7;
    margin-bottom: 30px;
    padding: 20px;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

.product-box img {
    width: 150px;
    border-radius: 10px;
    margin-right: 20px;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.product-info h3 {
    margin: 0 0 10px 0;
    color: #28a745;
}

.product-info p {
    margin: 0 0 20px 0;
    color: #666;
}

.availability-btn {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    flex-grow: 1;
}

.availability-btn:hover {
    background-color: #218838;
}


/* shop结尾 */
.cta-section {
    text-align: center;
    padding: 40px;
    background-color: #e7ffe7;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.shop-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer {
    background-color: #004d26;
    color: white;
    text-align: center;
    padding: 20px;
}





/* 媒体查询部分 */

/* 电脑端*/
@media screen and (min-width: 996px)
{
    .banner-word{padding-left: 50px;}
    .button-group{padding-left: 50px; display: block;}
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        background-color: #1e3b21;
        padding: 20px;
        
    }
    
    .bottom-nav a {
        color: #28a745;
        text-decoration: none;
        font-size: 18px;  
    }

    
    
    .nav {
        display: flex;
        gap: 20px;
    }
    
    .search-bar {
        display: block;
        padding: 5px;
        border-radius: 5px;
        border: none;
    }

    .quote-button {
        display:none;
        background-color: #28a745;
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;}

        .project-cards {
            justify-content: space-around;
            margin-top: 20px;
            display: flex;
        }
        .stats-overview {
            display: flex;
            justify-content: space-around;
            margin-top: 30px;
        }





        .project-card {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 30%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .project-card img {
            width: 100%;
            border-radius: 10px;
        }
        
        .project-card h3 {
            margin: 15px 0 10px;
        }
        
        .project-card p {
            font-size: 0.9em;
            line-height: 1.5;
            color: #666;
        }
        
        .project-card a {
            display: inline-block;
            margin-top: 10px;
            color: #28a745;
            text-decoration: none;
        }
}


/* 平板端*/
@media screen and (min-width: 768px) and (max-width: 996px)
{

    .banner-word{padding-left: 200px;}
    .button-group{padding-left: 200px; display: block;}
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        background-color: #1e3b21;
        padding: 20px;
    }
    
    .bottom-nav a {
        color: #28a745;
        text-decoration: none;
        font-size: 18px;
    }
        
    
    .nav {
        display: flex;
        gap: 20px;
    }
    
    .search-bar {
        display: block;
        padding: 5px;
        border-radius: 5px;
        border: none;
    }
    
    .quote-button {
        display: none;
        background-color: #28a745;
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;}

        .project-cards {
            justify-content: space-around;
            margin-top: 20px;
            display: flex;

        }

        .stats-overview {
            display: flex;
            justify-content: space-around;
            margin-top: 30px;
        }

        .project-card {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 30%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .project-card img {
            width: 100%;
            border-radius: 10px;
        }
        
        .project-card h3 {
            margin: 15px 0 10px;
        }
        
        .project-card p {
            font-size: 0.9em;
            line-height: 1.5;
            color: #666;
        }
        
        .project-card a {
            display: inline-block;
            margin-top: 10px;
            color: #28a745;
            text-decoration: none;
        }
}


/* 手机端*/
@media screen and (max-width: 768px)
{

    .banner-word{padding-left: 50px;}
    .button-group{padding-left: 50px; display:none;}
    .bottom-nav {
        display:none;
        justify-content: space-around;
        background-color: #1e3b21;
        padding: 20px;
    }
    
    .bottom-nav a {
        color: #28a745;
        text-decoration: none;
        font-size: 18px;
    }
        

    
    .nav {
        display: none;
        gap: 20px;
    }
    
    .search-bar {
        display:none;
        padding: 5px;
        border-radius: 5px;
        border: none;
    }

    .quote-button {
        display: block;
        background-color: #28a745;
        padding: 10px 20px;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;}

        .project-cards {
            justify-content: space-around;
            margin-top: 20px;
            display: flex;
            flex-direction: column;
        }

        .stats-overview {
            display:none;
            justify-content: space-around;
            margin-top: 30px;
        }





        .project-card {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 100%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .project-card img {
            width: 100%;
            border-radius: 10px;
        }
        
        .project-card h3 {
            margin: 15px 0 10px;
        }
        
        .project-card p {
            font-size: 0.9em;
            line-height: 1.5;
            color: #666;
        }
        
        .project-card a {
            display: inline-block;
            margin-top: 10px;
            color: #28a745;
            text-decoration: none;
        }
}